package com.example.demo.core.exception;

import com.example.demo.core.model.StatusEnum;

public class PermissionException extends BaseException {

    public PermissionException(StatusEnum statusEnum, Object data) {
        super(statusEnum, data);
    }

    public PermissionException(StatusEnum statusEnum) {
        super(statusEnum);
    }

    public PermissionException(String message) {
        super(message);
        super.setStatus(StatusEnum.PER_ERROR.getStatus());
    }
}
